package cn.sda.leo.springStudy.mapper;

import cn.sda.leo.springStudy.entity.Stock;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper //指定这是一个操作数据库的mapper
public interface StockMapper {
    List<Stock> findAll();
}
